package com.ruoyi.galaxy.vo.trade;

import com.ruoyi.galaxy.vo.GalaxyApiRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author yeoman
 * @date 2025/4/12 20:03
 * @description GalaxyApiTradeAddCart
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GalaxyApiTradeAddCartRequest extends GalaxyApiRequest {

    /**
     * 场次id
     */
    private String eventId;

    private Boolean quickTrade = true;

    private String token;

    /**
     * 语言类型
     */
    private Integer langType = 1;

    /**
     * 购物车商品信息
     */
    private List<CartGoods> cartGoods;

    @Data
    public static class CartGoods {

        /**
         * 商品数量
         */
        private Integer goodCount;

        /**
         * 票档价格
         */
        private String price;

        /**
         * 票档id
         */
        private String priceId;
    }

}
